import { CustomRequest } from "./request";

/**
 *
 * @param relatedId 项目或者户型id 其他就是0
 * @param relatedType 1 --> 项目project   2 --> 户型layout  3 -->other share 
 */
export const countShareToFriends = (
  relatedId: number | string,
  relatedType: number
) => {
  CustomRequest.put("/wechat/api/miniUser/share", {
    relatedId,
    relatedType
  });
};